home *** CD-ROM | disk | FTP | other *** search
/ Mac Mania 2 / MacMania 2.toast / Demo's / Tools&Utilities / System Utilities / KeyQuencer 1.01 / KeyQuencer / KeyQuencer.rsrc / TEXT_5000.txt < prev    next >
Encoding:
Text File  |  1994-06-02  |  13.9 KB  |  98 lines

  1. Alessandro Levi Montalcini
  2. C.so Re Umberto 10
  3. 10121 Torino
  4. Italy
  5. e-mail: lmontalcini@pmn.it
  6.  
  7. KeyQuencer 1.01 documentation - June 1994
  8.  
  9. ‚Ä¢ Shareware - $10 - cash only
  10. ‚óä  This control panel is distributed as shareware: if you like it please honor the shareware system by sending $10 to the author at the address above. Since cashing international cheques is very expensive, please send cash only (U.S. dollars are best, but any European currency is fine). Use the ‚ÄúSave Registration Form‚Ķ‚Äù button below to generate a text file with all the data I need, then print it with TeachText or with your word processor (don‚Äôt worry about formatting the text). If you don‚Äôt like printed stuff just write down a note with your name, your address and the name and version of the program you‚Äôre registering.
  11. ‚óä  If you work on the Macintosh, there are many things you can send me instead of the money. Here are some suggestions: original software (but don‚Äôt send any shareware/freeware unless you‚Äôre the author), books or computer-related magazines (any free issue or subscription will be welcome), CD-ROMs, any piece of new or used hardware, or anything else you‚Äôve created.
  12. ‚óä  There‚Äôs still another thing you could do: I‚Äôll finish my physics studies sometime in 1996 and I‚Äôm looking for a one-year job as a programmer (or maybe a scientist?) outside of Italy. Let me know if you have anything to offer.
  13. ‚óä  If you can‚Äôt afford any of the above an e-mail, a postcard or a letter will be welcome. I speak English, French and Italian. Please forgive me if I don‚Äôt answer to all of your letters - I am often overloaded with my school work.
  14.  
  15. ‚Ä¢ Special offers
  16. ‚óä  The following people may register KeyQuencer at a special price ($5 instead of $10):
  17.   - all registered users of any of my other shareware programs (that is, anyone who already sent me something);
  18.   - all high-school and college students;
  19.   - anyone else who is under 25.
  20.  
  21. ‚Ä¢ Introduction
  22. ‚óä  KeyQuencer is a very useful control panel that lets you perform complex tasks with one keystroke. I wrote it because I wasn‚Äôt satisfied with the commercial macro engines currently available, as they require lots and lots of memory and often fill it with less than useful stuff. KeyQuencer uses a scripting approach; it can‚Äôt watch your steps to learn new sequences as other commercial packages do. This requires a bit more work when you define a new sequence, but the final impact of KeyQuencer on your system is a lot smaller in terms of memory usage and processor time.
  23. ‚óä  KeyQuencer works with special structures called macros, which are defined by a name, a key combination and a text. The macro name only appears in the control panel; it allows you to pick the right macro for editing or deletion and to have an easily readable list of all your macros. The macro key is the key combination you use to activate the macro: when KeyQuencer detects a macro key, it starts executing the macro without stopping the applications you‚Äôre using. The actual task performed by the macro is defined by the macro text, which is a sequence of simple instructions. KeyQuencer has no built-in instructions; all the instructions are kept in separate external files called extensions. This allows you to leave unused extensions out of your Mac‚Äôs memory and to add more extensions as they become available.
  24.  
  25. ‚Ä¢ Installation
  26. ‚óä  System 7: Move the KeyQuencer control panel into your Control Panels folder (inside the System folder). Move the KeyQuencer Extensions folder into any one of the Preferences, Extensions, Control Panels or System folders. Move the KQ Apple Events extension into the Extensions folder if you plan to use the "Open" or "Quit" commands. Restart your Macintosh, then open the Control Panels folder and double click on KeyQuencer‚Äôs icon to configure it.
  27. ‚óä  System 6: Move the KeyQuencer control panel and the KeyQuencer Extensions folder inside your System folder. Restart your Macintosh, then open the Control Panel desk accessory to configure it. The KQ Apple Events extension doesn‚Äôt work with system 6, so you won‚Äôt be able to use the "Open" and "Quit" commands.
  28. ‚óä  Japanese and other non-roman systems: Don‚Äôt forget to enable the WorldScript II work-around in the Preferences dialog (the work-around is installed at next restart).
  29.  
  30. ‚Ä¢ The control panel
  31. ‚óä  The KeyQuencer control panel allows you to view and edit macros and to assign them a keystroke. The following commands are available in the control panel‚Äôs fake menu bar:
  32. ‚óä  New Macro: Creates a new macro and brings up the macro editor window.
  33. ‚óä  Edit Macro: Brings up the macro editor for the first selected macro (the first one that is highlighted in the macro list). Does nothing if no macro is selected.
  34. ‚óä  Delete Macro(s): Deletes all selected macros after asking if it‚Äôs OK to do so. This operation cannot be undone, whereas cutting the macros via the Edit menu leaves them in the clipboard. Does nothing if no macro is selected.
  35. ‚óä  Preferences‚Ķ: Displays the preferences dialog. You may choose whether to display the key combinations in the list or not; when visible, the key combinations may be displayed graphically, as right-aligned text or just appended to the macro name. The activity monitor is a red square that gets drawn in the menu bar when a macro is running; you can turn it off if it bugs you. You may also turn the startup icon on and off. The last two options deal with special workarounds I made for Microsoft Word‚Äôs nonstandard implementation of the Macintosh event loop and for Apple‚Äôs own WorldScript II. KeyQuencer doesn‚Äôt work in Word if the first workaround is disabled, while the second is useful when working with non-roman script systems such as Japanese.
  36. ‚óä  Import Macros‚Ķ: Imports all the macros contained in a previously exported macro file or in another KeyQuencer control panel. If duplicate names are found for some macros, you‚Äôll be asked whether you want to skip them.
  37. ‚óä  Export Selected‚Ķ: Exports the currently selected macros to an external macro file, so you can save them for later use or for distribution. Does nothing if no macro is selected.
  38. ‚óä  Edit Menu: All the Edit menu commands work as expected.
  39. ‚óä  About KeyQuencer‚Ķ: Displays this text and lets you save it as a text file. You may also save a text file with your personal registration form.
  40. ‚óä  Save Registration Form‚Ķ: Asks you to enter you name and address and saves a text file with your personal registration form, which can be printed with TeachText or any other text editor.
  41. ‚óä  Keyboard Shortcuts‚Ķ:  Displays all control panel shortcuts. KeyQuencer can‚Äôt assign command keys to its menu commands because it is not an application, so the shortcuts are implemented through the shift key.
  42. ‚óä  Memory Usage‚Ķ: This tells you exactly how much of your Mac‚Äôs memory is being used by KeyQuencer. A full working setup with all the extensions installed and lots of macros typically needs about 64K. The KQ Apple Events extension, which is a background-only application designed to support the "Open" and "Quit" extensions, takes another 30K if it‚Äôs installed.
  43. ‚óä  The macro list displays all currently defined macros in alphabetical order. You may double click on a macro to edit it (same as the Edit Macro command). Holding down the shift or command key when clicking in the list lets you select more than one macro at a time; multiple selections are useful for the Export and Delete commands described above.
  44. ‚óä  The on/off master switch enables or disables KeyQuencer.
  45.  
  46. ‚Ä¢ Stopping a macro
  47. ‚óä  KeyQuencer provides a special keystroke - Cmd-Shift-Return - that stops any running macro and flushes the macro queue. This keystroke may not be changed or assigned to any other macro.
  48.  
  49. ‚Ä¢ Shortcuts
  50. ‚óä  Typing some characters when the control panel is open selects the first macro in the list whose name matches the characters typed. You should not use the shift key while typing because it is used as a command key replacement for KeyQuencer‚Äôs menus. 
  51. ‚óä  Some keys may be used as shortcuts when KeyQuencer‚Äôs control panel is the front window. Some have to be typed alone, others need the shift key; I could not use the command key because the Finder doesn‚Äôt let control panels use it.
  52.   - shift-N = New macro
  53.   - shift-E = Edit macro
  54.   - shift-D or backspace = Delete macro(s)
  55.   - shift-I = Import macros
  56.   - shift-X = eXport macros
  57.   - shift-P = Preferences
  58.   - shift-A = select All
  59.   - shift-S, return or enter = Select none
  60.   - down arrow, right arrow or tab key = select next macro
  61.   - up arrow, left arrow or shift-tab = select previous macro
  62.  
  63. ‚Ä¢ Cut and paste
  64. ‚óä  The standard Edit menu commands work fine in KeyQuencer‚Äôs control panel. You may use the Scrapbook desk accessory to store your macros for later use (you'll be able to see the macro names there). Exporting to an external file is more convenient if you want to move your macros from one Mac to another.
  65.  
  66. ‚Ä¢ Known limitations and future improvements
  67. ‚óä  All key assignments are global; there is no way to let a keystroke ‚Äúflow‚Äù through a macro once it‚Äôs been intercepted by KeyQuencer. This means you shouldn‚Äôt assign any keystroke that is meaningful to your applications, since you wouldn‚Äôt be able to have it act as usual when needed. This is unlikely to change in future versions because of the way KeyQuencer works; I had to write it this way to keep it as clean and compatible as I could. The only advantage is that you can‚Äôt mess up by calling the wrong macro when you switch from one application to another. If many of you really miss this feature then I‚Äôll try to think about it.
  68. ‚óä  There are a couple of things that just didn‚Äôt make it into this first release. These limitations will eventually be addressed in future versions, especially if many (registered) users complain about them.
  69.   - Macros defined in the control panel can‚Äôt have more than 255 characters (you can send longer macros from HyperCard and AppleScript, this limitation only affects the control panel macro editor). Worse yet, the control panel doesn‚Äôt inform you when your macro is too long - it just chops it. This will definitely be fixed.
  70.   - There is no way to call a macro from a menu, or to display a quick reference of all the key assignments; you have to open the control panel when you forget your keys (here‚Äôs a cool macro to do it: SwitchApp "Finder", then Open "Your HD:System Folder:Control Panels:KeyQuencer").
  71.   - There is no PopUpMenu extension yet (I didn‚Äôt have the time to write one, but I‚Äôll fix that as soon as possible).
  72.   - The menu bar activity monitor is ugly (even though it‚Äôs very compatible). I‚Äôll try to transmogrify it into a cool small icon if you really can‚Äôt stand the good ol‚Äô red square.
  73.   - The control panel doesn‚Äôt have a separate preferences file, so you have to manually export your macros if you don‚Äôt want to lose them when you trash the control panel itself (be careful - this will surely happen when you upgrade to a newer version).
  74. ‚óä  KeyQuencer doesn‚Äôt have a timer, but it would be easy to add one through a dedicated application. You could leave such an application in your ‚ÄúStartup Items‚Äù folder and have it execute KeyQuencer macros at specific times. I don‚Äôt need a timer myself, so let me know if you do.
  75. ‚óä  Desk accessories intercept keystrokes before KeyQuencer; this isn‚Äôt usually a problem because most desk accessories don‚Äôt handle weird keystrokes (some beep, others don‚Äôt do anything at all). KeyQuencer handles the keystroke as soon as it comes out of the desk accessory. I didn‚Äôt fix this unusual behaviour because doing so required some more patches, but I may take care of it in the future if someone finds it annoying.
  76. ‚óä  Changes made in the control panel take effect immediately under System 6.0.4 or later; those who use an older system must restart the Mac for the macros and the preferences to be updated.
  77.  
  78. ‚Ä¢ Distribution
  79. ‚óä  KeyQuencer can be freely distributed as long as it is not modified and there‚Äôs no charge for it. It may not be included in any commercial package without my consent. 
  80. ‚óä  All online services and bulletin boards may make it available to their users at no charge other than the normal connection fees.
  81. ‚óä  All non-profit user groups may distribute it at no charge.
  82. ‚óä  All magazines may publish it on floppy disk without asking me first, as long as I get a copy of the issue containing my software.
  83. ‚óä  All CD-ROM shareware collections and CD-ROM magazines may include it without my prior consent, as long as I get either a copy of the CD-ROM or an offer to buy the CD-ROM at a discounted price.
  84. ‚óä  All redistribution companies such as Educorp may distribute it, as long as I get a copy of each media containing my software and a catalog of the company‚Äôs offerings (where applicable).
  85.  
  86. ‚Ä¢ Version history
  87. ‚óä  1.01 - Fixed a small bug in the macro editor and added a work-around for WorldScript II. The Click extension now handles the closebox and zoombox better.
  88. ‚óä  1.0 - First public release (after more than 30 beta versions).
  89.  
  90. ‚Ä¢ Thanks to‚Ķ
  91. ‚óä  Lots of help and suggestions came from Valentina Pavia, Alberto Ricci, Fabrizio Oddone, Rocco Moliterno, Massimo Lucano, Giovanni Rava, Alberto Novelli, Giorgio Berta, Peppino Ventura, Amedeo Farello, Giuseppe Carlino, Luciano Baesso, Filippo Bellotti and Masatsugu Nagata.
  92. ‚óä  KeyQuencer would certainly be a commercial product if I hadn‚Äôt received such a rewarding support from those who registered for my other shareware programs. I‚Äôd like to thank all my registered users one by one, but they are now way too many to list‚Ķ
  93.  
  94. ‚Ä¢ Disclaimer
  95. ‚óä  KeyQuencer shouldn‚Äôt cause any damage, but you‚Äôre using it at your own risk. As an independent software developer, I can make no warranties whatsoever on it.
  96.  
  97. ‚Ä¢ Have fun!
  98. ‚óä  And don't forget to register your copy of KeyQuencer. I worked hard for many months to make it powerful and solid, yet I‚Äôm keeping the price very low so that everyone can afford it. If you‚Äôre starving, read the first paragraph again and see what else you can do to keep KeyQuencer alive.